var ub = false;
var pb = false;

function inputClick(){
    var msg = document.getElementById("check_uid_param_msg");
    var uid = document.getElementById("uid");
    var password = document.getElementById("password");
    if(uid.value==""){
        msg.innerHTML="请输入Uniportal帐号/邮箱/W3帐号。";
        msg.style.display="block";
        msg.style.color="red";
        uid.style.background="#FCF7F7";
        uid.style.border="1px solid #FA2A2D";
        ub=false;
    }else{
        msg.style.display="none";
        uid.style.background="#fff";
        ub=true;
    }

    if(password.value==""){
        pb=false;
    }else{
        pb=true;
    }
}



function formSubmit(){
    if(ub && pb){
        return true;
    }else{
        return false;
    }
}